﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhp.Model.Sys
{
    /// <summary>
    /// 
    /// </summary>
    public class RoleModel
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 是否内置角色
        /// </summary>
        public bool IsAdmin { get; set; }

        /// <summary>
        /// 是否激活
        /// </summary>
        public bool IsEnabled { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class RoleQuery : PageModel
    {

    }

    /// <summary>
    /// 
    /// </summary>
    public class RoleCreate
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 是否内置角色
        /// </summary>
        public bool IsAdmin { get; set; }

        /// <summary>
        /// 是否激活
        /// </summary>
        public bool IsEnabled { get; set; }
    }
}
